package com.emm.yixun.poss.domain;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 商户流程
 *
 */
@TableName("sys_tr_mearchant_procdef")
public class TrMearchantProcdef implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 主键、自动增长 */
	@TableId(type = IdType.AUTO)
	private Long id;

	/** 商户ID */
	@TableField(value = "merchant_id")
	private Long merchantId;

	/** 流程启动KEY,冗余存储 */
	@TableField(value = "proc_key")
	private String procKey;

	/** 流程名称,冗余存储 */
	@TableField(value = "proc_name")
	private String procName;

	/** 流程类型ProcessTypeEnums */
	@TableField(value = "proc_type")
	private String procType;

	/** 流程定义ID */
	@TableField(value = "procdef_id")
	private String procdefId;

	/** 创建人 */
	@TableField(value = "create_user_id")
	private Long createUserId;

	/** 创建时间格式：yyyy-MM-dd HH:mm:ss */
	@TableField(value = "create_time")
	private Date createTime;

	/** 修改时间格式：yyyy-MM-dd HH:mm:ss */
	@TableField(value = "update_time")
	private Date updateTime;

	/** 是否删除:0否 1是 */
	@TableField(value = "del_flag")
	private String delFlag;


	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getMerchantId() {
		return this.merchantId;
	}

	public void setMerchantId(Long merchantId) {
		this.merchantId = merchantId;
	}

	public String getProcKey() {
		return this.procKey;
	}

	public void setProcKey(String procKey) {
		this.procKey = procKey;
	}

	public String getProcName() {
		return this.procName;
	}

	public void setProcName(String procName) {
		this.procName = procName;
	}

	public String getProcType() {
		return this.procType;
	}

	public void setProcType(String procType) {
		this.procType = procType;
	}

	public String getProcdefId() {
		return this.procdefId;
	}

	public void setProcdefId(String procdefId) {
		this.procdefId = procdefId;
	}

	public Long getCreateUserId() {
		return this.createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getDelFlag() {
		return this.delFlag;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

}
